package game.users.pojo;

import java.util.Date;

import game.level.pojo.ALevel;

public class AUsers
{
	private int id;
	private int levelId;
	private String email;
	private String password;
	private String nickName;
	private int score;
	private String name;
	private String content;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date pubTime;
	
	private ALevel level ;
	/*生成读写器*/
	public int getId()
	{
		return id;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public int getLevelId()
	{
		return levelId;
	}
	public void setLevelId(int levelId)
	{
		this.levelId = levelId;
	}
	public String getEmail()
	{
		return email;
	}
	public void setEmail(String email)
	{
		this.email = email;
	}
	public String getPassword()
	{
		return password;
	}
	public void setPassword(String password)
	{
		this.password = password;
	}
	public String getNickName()
	{
		return nickName;
	}
	public void setNickName(String nickName)
	{
		this.nickName = nickName;
	}
	public int getScore()
	{
		return score;
	}
	public void setScore(int score)
	{
		this.score = score;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public String getContent()
	{
		return content;
	}
	public void setContent(String content)
	{
		this.content = content;
	}
	public byte getStatus()
	{
		return status;
	}
	public void setStatus(byte status)
	{
		this.status = status;
	}
	public Date getCreateTime()
	{
		return createTime;
	}
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}
	public Date getUpdateTime()
	{
		return updateTime;
	}
	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}
	public Date getPubTime()
	{
		return pubTime;
	}
	public void setPubTime(Date pubTime)
	{
		this.pubTime = pubTime;
	}
	/*重写方法*/
	public String toString()
	{
		return "AUsere [id=" + id + ", levelId=" + levelId + ", email=" + email + ", password=" + password
				+ ", nickName=" + nickName + ", score=" + score + ", name=" + name + ", content=" + content
				+ ", status=" + status + ", createTime=" + createTime + ", updateTime=" + updateTime + ", pubTime="
				+ pubTime + "]";
	}
	/*用户调用等级表  便于查询等级*/
	public ALevel getLevel()
	{
		return level;
	}
	public void setLevel(ALevel level)
	{
		this.level = level;
	}

}
